import { ResPage, LogByJob } from "@/api/interface/index";
import { CANROCNET } from "@/api/config/servicePort";
import http from "@/api";

/**
 * 获取作业日志列表
 *
 * @param params 作业日志查询参数
 * @returns 返回作业日志列表
 */
export const getLogByJobPageApi = (params: LogByJob.PageParams) => {
  return http.get<ResPage<LogByJob.Result>>(`${CANROCNET}/api/log-by-job/page`, params);
};
